package com.example.eureka.clienta.eurekaclienta;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(name="client8762")
public interface DearRemote {
    //需要匹配服务提供者接口名称
    @RequestMapping(value = "/producerDear")
    public String sayDear(@RequestParam(value="name") String name);
}
